﻿using System.Globalization;

namespace GC_FFW.SoccerfameParser.Abstractions.Helpers.Validators
{
	public abstract class UrlBaseValidator
	{
		#region Variables

		protected CompareInfo UrlComparer { get; private set; }

		#endregion

		#region Constructors

		protected UrlBaseValidator()
		{
			UrlComparer = CultureInfo.InvariantCulture.CompareInfo;
		}

		#endregion

		#region Public Methods

		public abstract bool IsValidUrl(string pageUrl);

		#endregion
	}
}
